package com.fa4j.system.settings.convert;

import com.fa4j.common.base.convert.CommonConvertor;
import com.fa4j.common.base.convert.ConverterConfig;
import com.fa4j.system.settings.dto.SystemDictBatchSaveRequest;
import com.fa4j.system.settings.model.Dict;
import com.fa4j.system.settings.model.DictBatchSaveCmd;
import com.fa4j.system.settings.model.DictCreateCmd;
import com.fa4j.system.settings.model.DictModifyCmd;
import org.mapstruct.Mapper;

@Mapper(config = ConverterConfig.class)
public interface DictConverter extends CommonConvertor<Dict, DictCreateCmd, DictModifyCmd> {

    DictBatchSaveCmd toBatchCmd(SystemDictBatchSaveRequest request);
}
